const express = require('express')
const app = express()
app.use(express.json())
app.use(express.urlencoded({extended: true}))
app.post('/login', (req, res, next) => {
  console.log('login welcon====', req.body)
  res.end('login welcome')
})
app.post('/product', (req, res, next) => {
  console.log('product weclome ===',req.body)
  res.end('product weclome')
})
app.listen(9001, () => {
  console.log('server start')
})